package cn.firstquestion;

public class Test {
    public static void main(String[] args) {
        JavaTeacher javaTeacher = new JavaTeacher("威廉蒋","男",23,5,"有色公司");
        javaTeacher.teaching();
        javaTeacher.show();

        NetTeacher netTeacher = new NetTeacher("林肯","男",65,40,"联通");
        netTeacher.teaching();
        netTeacher.show();
    }
}
